
import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';


export const appRoutes = [
    {
        path:'',
        redirectTo:'login',
        pathMatch:'full'
    },
    {
        path: 'login',
        loadChildren: './login/login.module#loginModule'
    },
    {
        path:'register',
        loadChildren:'./register/register.module#registerModule'
    }
];